// 这个只在搜索页起效果, 列表页用jj-item-pc.less
.item-cell {
  line-height: normal;
  padding: 15px;
  border-bottom: 1px solid #f0f2f7;
  background: #fff;

  ul, ol {
    margin: 0;
    padding: 0;
  }
}


.title-row {
  display: flex;
  align-items: center;
  margin-right: 70px;
}

.title {
  font-size: 18px;
  line-height: 21px;
  color: #121212;
  font-weight: 500;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-all;
  padding-right: 10px;

  &:hover {
    text-decoration: none;
    color: #175199;
  }

  &:focus {
    text-decoration: none;
    color: #121212;
  }
}

.new-topic-intro {
  display: flex;
  margin-top: 10px;
}

.new-topic-intro-left {
  flex: 0 0 128px;
  margin-right: 15px;
  position: relative;

  img {
    border-radius: 5px;
    width: 128px;
    height: 85px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, .1);
    box-sizing: border-box;
  }

  .new-topic-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url();
    background-size: 32px;
    width: 32px;
    height: 32px;
  }

}


.abstract {
  display: flex;
  margin-top: 5px;
  margin-right: 70px;

  &:hover {
    text-decoration: none;

    span {
      color: #646464;
    }
  }

  &:focus {
    text-decoration: none;
  }
}

.abstract .yinhao {
  width: 16px;
  height: 16px;
  margin-top: -3px;
}

.abstract span {
  color: #757575;
  font-size: 14px;
  line-height: 20px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  word-break: break-all;
  white-space: pre-line;
}

.new-topic-intro-left + .new-topic-intro-right > .tag_list {
  position: absolute;
  bottom: 2px;
}

.tag_list {
  .tag {
    color: #cb0c13;
    background: rgba(203, 12, 19, .15);
    text-decoration: none;
    display: inline-block;
    padding: 0 8px;
    font-size: 12px;
    margin-right: 5px;
    margin-top: 10px;
    height: 22px;
    line-height: 22px;

    &:hover {
      color: #fff;
      background: #cb0c13;
    }
  }
}


.action-list {
  display: flex;
  align-items: center;

  .item {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 20px;
    line-height: 20px;
    color: #8590a6;
    flex-shrink: 0;
    text-decoration: none;
    opacity: 1;
    font-size: 14px;

    img {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      margin-right: 2px;
    }

    span {
      margin-left: 4px;
    }

    &:hover {
      color: #1d7dfa;

      i {
        color: #1d7dfa;
      }
    }
  }

  .item-time {
    margin-right: 0px;
    margin-left: auto;
  }

  .item.more {
    cursor: pointer;
    width: 16px;
    height: 16px;
    background-size: 100%;
    background-image: url();

    &.active {
      background-color: #e5e6eb;
    }

    &:hover {
      background-color: #e5e6eb;
    }

    .more-list {
      width: 56px;
      cursor: pointer;
      list-style: none;
      font-size: 13px;
      line-height: 20px;
      color: #4e5969;
      margin: 0;
      position: absolute;
      top: 100%;
      padding: 4px 0;
      margin-top: 4px;
      background: #fff;
      border: 1px solid #f0f2f7;
      box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
      border-radius: 4px;
      z-index: 10;
      display: none;
      left: -19px;

      .item {
        cursor: pointer;
        list-style: none;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 36px;
        color: #4e5969;
        padding: 0 12px;
        min-width: 54px;
        user-select: none;

        &:hover {
          background-color: #fafafa;
        }
      }
    }
  }
}

.new-topic-intro-right {
  position: relative;
  width: 100%;
}


// 简洁模式切换框
.header.header__index {
  position: relative;

  .change-list {
    font-size: 13px;
    position: absolute;
    top: 13px;
    right: 15px;
    color: #0078ff;
    display: flex;
    align-items: center;
    cursor: pointer;

    label {
      font-size: 13px;
      color: #0078ff;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      cursor: pointer;

      &:hover {
        opacity: 0.8;
      }

      input {
        width: 13px;
        height: 13px;
        margin-right: 5px;
        box-shadow: none;
        margin-top: -1px;
      }

      span {
        font-size: 13px;
        color: #0078ff;
        cursor: pointer;
        line-height: 16px;
      }
    }
  }
}


